<?php
/**
 * Each engineer has a duty to keep the code elegant
 * Created by wolffy.
 * Author @wolffy<13750088090@sina.cn>
 * Date: 2018/12/12
 * Time: 10:25
 */
namespace App\Http\Controllers\BackendApi;

use App\Http\Requests\BackendApi\RepaymentDetailRequest;
use App\Services\BackendApi\CollectMoneyService;
use Illuminate\Http\Request;

class CollectMoneyController extends ApiController
{
    protected $collectMoneyService;

    public function __construct(CollectMoneyService $collectMoneyService)
    {
        $this->collectMoneyService = $collectMoneyService;
    }

    public function getList(Request $request)
    {
        return $this->collectMoneyService->getList($request);
    }
}